package com.tedu.checkIn.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;

import java.util.Date;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
public class ExcusedVO {
    @ApiModelProperty(value = "请假管理单id")
    Integer id;
    @ApiModelProperty(value = "请假老人姓名")
    String username;
    @ApiModelProperty(value = "床位名称")
    String bedName;
    @ApiModelProperty(value = "陪同人姓名")
    String companionsName;
    @ApiModelProperty(value = "监护人电话")
    String phone;
    @ApiModelProperty(value = "监护人与老人关系")
    String relationship;
    @ApiModelProperty(value = "请假外出状态")
    String status;
    @ApiModelProperty(value = "审核状态")
    String reviewStatus;
    @ApiModelProperty(value = "离院时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    Date leaveTime;
    @ApiModelProperty(value = "回院时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    Date backTime;
}
